<?php echo $this->doctype(); ?>
<html>
<head>
<?php echo $this->headmeta(); ?>
<?php echo $this->headtitle(); ?>
<?php echo $this->headlink()->prependStylesheet($this->baseUrl() . '/css/style.css'); ?> 
<?php if ($this->dojo()->isEnabled()){

	$this->dojo()->setLocalPath($this->baseUrl(). '/js/dojo/dojo/dojo.js')
		->addStyleSheetModule('dijit.themes.tundra');
	echo $this->dojo();
}
?>
 <title>Grade-O-Meter</title>
</head>
<body class = "tundra">

<?php 
$log = null;
if (Zend_Auth::getInstance()->hasIdentity()){
      			$log =  "Logged in as: " .Zend_Auth::getInstance()->getIdentity()->username;
      			
      		}?>
       
<div id="site-wrapper">

	<div id="header">

		<div id="top">

			<div class="left" id="logo">
				<a href="index.html"><img src="<?php echo $this->baseUrl(). '/img/newlogo.gif';?>" alt="" /></a>
			</div>
			<div id ="push">
			</div>
			<div class="left navigation" id="main-nav">
				
				<?php echo $this->navigation()->menu(); ?>

			</div>

			<div class="clearer">&nbsp;</div>

		</div>

	</div>

	<div class="main" id="main-two-columns">

		<div class="left" id="main-content">

			<?php echo $this->layout()->content;?>			
			
					<FORM>
<INPUT id = "back" type="button" value="Click here to go back" onClick="history.back()" size="12">
</FORM> 	
			
		</div>

		<div class="right" >

		<?php echo $log;?>

		</div>


		<div class="clearer">&nbsp;</div>

	</div>

	<div id="footer">

		<div class="left" id="footer-left">
			
			<p>&copy; 2002-2009 Simple Organization. All rights Reserved</p>

			<p class="quiet"><a href="http://templates.arcsin.se/">Website template</a> by <a href="http://arcsin.se/">Arcsin</a></p>
			
			<div class="clearer">&nbsp;</div>

		</div>

	</div>

</div>

</body>

</html>